package com.sff.site.events {
	import flash.events.Event;								

	public class FlowEvent extends Event {
		
		public function get nativeType() : String {
			return _nativeType;
		}
		
		public function get capureFlow() : Boolean {
			return _capureFlow;
		}
		
		public function FlowEvent( type : String, bubbles : Boolean = false, cancelable : Boolean = false, capureFlow : Boolean = false ) {
			_nativeType = type;
			if( capureFlow ) type = FlowEventDispatcher.CAPTURE_PREFIX + _nativeType;
			_capureFlow = capureFlow;
			super( type , bubbles , cancelable );
		}

		override public function clone() : Event {
			var c : FlowEvent = new FlowEvent( type, bubbles, cancelable );
			return c;
		}
		
		protected var _nativeType : String;

		protected var _capureFlow : Boolean;
	}
}
